home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8237 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  715 b 

  1. Path: news.production.compuserve.com!news
  2. From: John Puopolo <102262.612@CompuServe.COM>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: novice question on copy constru
  5. Date: 15 Feb 1996 23:16:56 GMT
  6. Organization: Lotus Development Corporation
  7. Message-ID: <4g0et8$3h6$2@mhadg.production.compuserve.com>
  8. References: <AL9SoXAZfTHxEwVN@mics.demon.co.uk>
  9.  
  10. It is recommended that you always supply:
  11.  
  12. A ctor
  13. A dtor (virtual if approp)
  14. A copy ctor
  15. An assignment (=) operator
  16.  
  17. For every non-trivial class that you implement.  Leave nothing to 
  18. chance and you'll have far fewer headaches.  Been there... done 
  19. that.  
  20.  
  21. -- 
  22. John Puopolo, Lotus Development Corporation
  23. 102262,612 or jpuopolo@crd.lotus.com
  24. "Knowledge itself is power."
  25.